f = open(r"C:\Users\wbw\Desktop\Whhpython\homework1\english.txt",encoding="utf-8")
a = f.read().split()

words_dic = {}
for k in a:
    if k in words_dic:
        words_dic[k] += 1     
    else:
        words_dic[k] = 1

print(words_dic)

f.close